//
//  UILable+Extension.swift
//  CFZWeiBo
//
//  Created by Cedric Zheng on 26/11/2016.
//  Copyright © 2016 Cedric Zheng. All rights reserved.
//

import UIKit

extension UILabel {
    convenience init (title: String, fontSize: CGFloat = 13, textColor: UIColor = UIColor.darkGray, alignment: NSTextAlignment = .left, numOfLines: Int = 0) {
        
        self.init()
        
        self.text           = title
        self.font           = UIFont.systemFont(ofSize: fontSize)
        self.textColor      = textColor
        self.textAlignment  = alignment
        self.numberOfLines  = numOfLines
    }
}

